package com.appkubes.fintech.restful.application.risk.data.xingpan.service;

import com.appkubes.fintech.common.response.Response;

/**
 * @Author: leeming
 * @Date: 2020-01-22 17:23
 * @Description:
 */
public interface XingPangRiskService {

    /***
     * 爬取数据
     * @param userKey
     * @param pass
     * @return
     */
    Response crawlerData(String userKey, String pass);

    /***
     * 填写验证码
     * @param userKey
     * @param name
     * @param code
     * @param crawlerId
     * @param crawlerToken
     * @return
     */
    Response appendData(String userKey, String name, String code, String crawlerId, String crawlerToken);


    /***
     * 获取爬虫数据 （爬虫程序出错时，可以重新获取爬虫信息）
     * @param crawlerId
     * @param crawlerToken
     * @return
     */
    Response getCrawlerData(String userKey,String crawlerId, String crawlerToken);
}
